﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AddInfoAbout.aspx.vb" Inherits="webfinancegdrassign4.AddInfoAbout" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <link href="../Content/bootstrap.css" rel="stylesheet" />
    <link href="../Content/mystyle.css" rel="stylesheet" />
    <style type="text/css">
        body {
            margin: 0px;
            padding: 0px;
            background: #eeeeee;
        }
    </style>
    <script src="../Scripts/ajax.googleapis.com.ajax.libs.jquery.1.4.2.jquery.min.js"></script>
    <script type="text/javascript" language="javascript">

        function returnempcode() {

            window.opener.focus();
            window.close();
            window.opener.location.reload();
        }

    </script>
    <script>
        $(document).ready(function () {

            document.getElementById('<%=fl1.ClientID%>').onchange = function () {
                document.getElementById('<%=txtfl1.ClientID%>').value = this.value;
            }
            document.getElementById('<%=fl2.ClientID()%>').onchange = function () {
                document.getElementById('<%=txtfl2.ClientID()%>').value = this.value;
            }
            document.getElementById('<%=fl3.ClientID()%>').onchange = function () {
                document.getElementById('<%=txtfl3.ClientID()%>').value = this.value;
            }
            document.getElementById('<%=fl4.ClientID()%>').onchange = function () {
                document.getElementById('<%=txtfl4.ClientID()%>').value = this.value;
            }
            document.getElementById('<%=fl5.ClientID()%>').onchange = function () {
                document.getElementById('<%=txtfl5.ClientID()%>').value = this.value;
            }
            document.getElementById('<%=fl6.ClientID()%>').onchange = function () {
                document.getElementById('<%=txtfl6.ClientID()%>').value = this.value;
            }
        });


    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="row-fluid">

            <table class="table">
                <tr>
                    <th colspan="4" class="td-head" style="text-align: center; font-size: 13px; color: #999;">Add New Record</th>
                </tr>
                <tr>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label1" runat="server" Text="About Website"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="about_website" runat="server" CssClass="textarea" TextMode="MultiLine" Rows="3"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="about_website"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Enter About Website"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                    </td>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label2" runat="server" Text="Contact Website"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="contact_website" runat="server" CssClass="textarea" TextMode="MultiLine" Rows="3"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="contact_website"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Enter Contact Website"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                    </td>

                </tr>
                <tr>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label3" runat="server" Text="About Image 1 "></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl1" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl1" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl1" runat="server" Width="50" CssClass="upload" />

                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="fl1"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 1"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="fl1"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label4" runat="server" Text="About Image 2"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl2" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl2" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl2" runat="server" Width="50" CssClass="upload" />
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="fl2"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 2"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="fl2"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label5" runat="server" Text="About Image 3"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl3" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl3" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl3" runat="server" Width="50" CssClass="upload" />
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="fl3"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 3"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="fl3"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label6" runat="server" Text="About Image 4"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl4" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl4" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl4" runat="server" Width="50" CssClass="upload" />
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="fl4"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 4"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="fl4"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label7" runat="server" Text="About Image 5"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl5" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl5" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl5" runat="server" Width="50" CssClass="upload" />
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="fl5"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 5"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="fl5"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                    <td class="frm-lft-clr123">
                        <asp:Label ID="Label8" runat="server" Text="About Image 6"></asp:Label></td>
                    <td class="frm-rght-clr123">
                        <asp:TextBox ID="txtfl6" CssClass="textbox" Enabled="false" runat="server"></asp:TextBox>
                        <div class="fileUpload btn btn-primary" id="divfl6" runat="server">
                            <span style="margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;">Upload</span>
                            <asp:FileUpload ID="fl6" runat="server" Width="50" CssClass="upload" />
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="fl6"
                            Display="Dynamic" ErrorMessage='<img src="../images/error1.gif" alt="" />' ToolTip="Upload Image 6"
                            ValidationGroup="add" Width="6px" SetFocusOnError="True"><img src="../img/error1.gif" alt="" /></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="fl6"
                            SetFocusOnError="True" ValidationGroup="add" CssClass="txt-red" ErrorMessage='<img src="../img/error1.gif" alt="" />' ToolTip="file not supported..." ValidationExpression="^.+(.jpeg|.JPEG.png|.PNG|.bmp|.BMP|.jpg|.JPG|.gif|.GIF)$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" class="frm-lft-clr123" style="text-align: center;"><%--<a href="javascript:returnempcode('Raghu')" >Click</a>--%>
                        <asp:Button ID="Button3" runat="server" Text="Save" CssClass="button" Style="width: 70px;" OnClick="Button3_Click" ValidationGroup="add" />
                        <%--<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Addsmscomments %>" ProviderName="<%$ ConnectionStrings:Addsmscomments.ProviderName %>" SelectCommand="SELECT * FROM [sms_info]"></asp:SqlDataSource>--%>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
